package com.iss.yunpan.service.impl;


import com.iss.yunpan.dao.HuiDao;
import com.iss.yunpan.entity.FileContent;
import com.iss.yunpan.entity.HuiContent;
import com.iss.yunpan.service.HuiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.List;

@Service
public class HuiServiceImpl implements HuiService {
    @Autowired
    private HttpSession session;

    private String endPoint = "obs.cn-north-4.myhuaweicloud.com";
    private String ak = "KMFTH0TFIBTYIACKPJWT";
    private String sk = "LXPrmCt7N9yoUqzMmp8UppOipxvUPZkRfndWlhA1";
    private String bucketName = "yunpanst";

    @Autowired//依赖注入
    private HuiDao dao;

    @Override
    public List<FileContent> deleteAllFile(String fileName){
        return dao.deleteAllFile(fileName);
    }
}